1 <?php
2 include(
"header.php");
3
4 include(
"sidebar.php");
5 include(
"dbconnection.php");
6 $sql = mysql_query(
"select * from vehiclestore where vehicleid=$_GET[vahicleid]");
7 $row = mysql_fetch_array($sql);
8 ?>
9         
10                             
11         <div id=
"main">
12         <h3>Vehicle store</h3>
13
14                                             
15         <table width=
"538" border="1">
16           <tr>
17             <td width=
"268">
18             <p><img src=
"upload/<?= $row['images']; ?>" width="208" height="130" align="left" /><br />
19               <br />
20             </p></td>
21             <td width=
"246"><p><strong>Vehicle Name:</strong> <?= $row['vehname']; ?><br />
22               <strong>Model:</strong> <?= $row[
'model']; ?> <br />
23               <strong> Brand:</strong> <?= $row[
'brand']; ?><br />
24               <br />
25               <br />
26             </p></td>
27           </tr>
28           <tr>
29             <td>Other Information</td>
30             <td><p><?= $row[
'description']; ?></p>
31             </td>
32           </tr>
33           <tr>
34             <td colspan=
"2"><strong>Estimated price: Rs.<?= $row['estprice']; ?></strong></td>
35           </tr>
36           <tr>
37             <td colspan=
"2" align="right"><strong><?php echo"<a href='vehiclestorebook.php?vahicleid=$row[vehicleid]'>Book Vehicle Now&gt;&gt;</a></strong></td>"; ?>
38           </tr>
39           </table>
40         </div>
41         
42 <!-- wrap ends here -->
43 </div>
44         
45 <?php
46 include(
"footer.php");
47 ?>


Gõ tìm kiếm nhanh...